﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>店铺发货订单列表页  - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/buy.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});

function eidtOrder(orderId,status){
	$.post("../orderSt/edit.jspx", {
		'orderId' : orderId,
		'status' : status
	}, function(data) {
		if(data.success){
			location.reload();
		}
	},'json');
}
</script>
</head>
<body>
[#include "../include/店铺页头顶栏.html"/]
<div class="w1168">
	[#include "店铺中心_导航.html"/]
	<div class="user_right">
		<div class="user_title2">发货订单管理</div>  
		<div class="clear10"></div>     
        <form id="jvForm" action="list.jspx" method="post">
        <table class="favorite_tb" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
        <td width="100" height="30" align="right">商品名称：</td>
        <td><input class="address_input" id="productName" type="text" maxlength="30" value="${productName!}" name="productName" size="50"/></td>
        </tr>
        <tr>
        <td width="100" height="30" align="right">下单时间：</td>
        <td>
        <input type="text" name="startTime" value="${startTime!}" class="Wdate" style="height:22px; width:100px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/> 到
        <input type="text" name="endTime" value="${endTime!}" class="Wdate" style="height:22px; width:100px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"/></td>
        </tr>
        <tr>
        <td width="100" height="30" align="right">收货人：</td>
        <td> <input id="userName" type="text" name="userName" value="${userName!}" class="address_input"/></td>
        </tr>
        <tr>
        <td width="100" height="30" align="right">支付方式：</td>
        <td><select id="paymentId" name="paymentId" class="dzinput">
        <option value="">--支付方式--</option>
        [#list paymentList as payment]
        <option value="${payment.id}"[#if paymentId??] [#if paymentId==payment.id]selected="selected"[/#if][/#if]>${payment.name!}</option>
        [/#list]
        </select></td>
        </tr>
        <tr>
        <td width="100" height="30" align="right">订单金额：</td>
        <td><input type="text" name="startOrderTotal" value="${startOrderTotal!}" class="address_input" style="width:80px"/> 
        至
          <input type="text" name="endOrderTotal" value="${endOrderTotal!}" class="address_input" style="width:80px"/></td>
        </tr>
        <tr>
        <td height="50">&nbsp;</td>
        <td><button class="menu_ok"  type="submit">搜索</button></td>
        </tr>
        </table>
        </form>
        <div class="clear10"></div>    
        <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#cccccc">
        <tr>
        <td height="30" align="center" bgcolor="#f0f0f0">订单编号</td>
        <td align="center" bgcolor="#f0f0f0">物流单号</td>
        <td align="center" width="60" bgcolor="#f0f0f0">收货人</td>
        <td align="center" width="80" bgcolor="#f0f0f0">订单金额</td>
        <td align="center" width="100" bgcolor="#f0f0f0">订单时间</td>
        <td align="center" width="60" bgcolor="#f0f0f0">状态</td>
        <td align="center" width="80" bgcolor="#f0f0f0">支付状态</td>
        <td align="center" width="80" bgcolor="#f0f0f0">配送状态</td>
        <td align="center" width="60" bgcolor="#f0f0f0">操作</td>
        </tr>
        </table>
        [@shipment_page storeId=store.id count='10' pageNo=pageNo]
        <table cellspacing="1" cellpadding="0" width="100%" border="0">
        [#if tag_list?size gt 0]
        [#list tag_list as sh]
        <tr>
        <td height="40" align="center">${sh.indent.code!}</td>
        <td align="center">${sh.indent.invoiceNo!}</td>
        <td width="60" align="center">${sh.indent.receiveName!}</td>
        <td width="80" align="center" >${sh.indent.total!}</td>
        <td width="100" align="center">${sh.indent.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
        <td width="60" align="center">[@s.m "order.status.${sh.indent.status}"/]</td>
        <td width="80" align="center">[@s.m "order.paymentStatus.${sh.indent.paymentStatus}"/]</td>
        <td width="80" align="center">[@s.m "order.shippingStatus.${sh.indent.shippingStatus}"/]</td>
        <td width="60" align="center"><a href="view.jspx?orderId=${sh.indent.id}&op=2&param=true" target="_blank">查看</a></td>
        </tr>
        <tr>
        <td height="1" colspan="9" bgcolor="#e7e7e7"></td>
        </tr>
        [/#list]
        </table>
        [#else]
        <div class="zwsj">暂无数据</div>
        [/#if]
        <div class="pageNumber">[@pagination_style sysPage='3'/]</div>
        [/@shipment_page]
	</div>
	<div class="clear20"></div>
</div>
[#include "../include/页脚信息栏.html"/]
</body>
</html>